package org.example.modules.user.service;

import com.alibaba.fastjson2.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.modules.user.entry.UserAddress;

import java.util.List;

/**
 * @Description UserAddressService
 * @Author xiaotian
 * @Date 2025-04-17
 */
public interface UserAddressService extends IService<UserAddress> {
    void saveAddress(JSONObject data);

    List<UserAddress> getAllAddress();

    void updateDefaultAddress(JSONObject data);

    UserAddress getDefaultAddress();
}
